<?php
	if ((!defined("ADMIN-AREA")) || (!in_array(SHOWVIEW,$_SESSION['access']))) {
		die("No data");
	} else {
		unset($_SESSION['access']);
	}
	
	$statTambah = true;
	include_once "modul/funct_stat.php";
?> 
<form name="form1" method="post" action="<?php echo $path; ?>ver_profile.php?show=<?php echo SHOW; ?>&showview=<?php echo SHOWVIEW;?>">
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="0">
    <tr valign="top">
      <th valign="middle"> <div align="right"><?php echo $PROFILE_NAME; ?></div></th>
      <td valign="middle"><div align="center">:</div></td>
      <td valign="middle"><div align="left">
        <input name="alias" type="text" id="<?php echo $PROFILE_NAME; ?>" size="25" maxlength="25" value="<?php echo $queryData->cekUser($_SESSION['id_char'],true); ?>" class="input-title" />
      </div></td>
    </tr>
<?php
		echo $queryData->x_field("","detail_user","",$_SESSION['id_char'],"",false,'align="right" style="font-weight:bold"',2);
?>
     <tr valign="top">
      <th colspan="3">&nbsp;</div></th>
    </tr>
   <tr valign="top">
      <th> <div align="right"><?php echo $PROFILE_CUR_PASSWD; ?></div></th>
      <td><div align="center">:</div></td>
      <td><div align="left">
          <input name="katakuncisebelum" type="password" id="<?php echo $PROFILE_CUR_PASSWD; ?>" size="25" maxlength="25" />
      </div></td>
    </tr>
    <tr valign="top"> 
      <th width="31%"> <div align="right"><?php echo $PROFILE_NEW_PASSWD; ?></div></th>
      <td width="6%"> <div align="center">:</div></td>
      <td width="63%"> <div align="left"> 
          <input name="katakunci" type="password" id="<?php echo $PROFILE_NEW_PASSWD; ?>" size="25" maxlength="25">
      </div></td>
    </tr>
    <tr valign="top"> 
      <th> <div align="right"><?php echo $PROFILE_VER_PASSWD; ?></div></th>
      <td> <div align="center">:</div></td>
      <td> <div align="left"> 
          <input name="katakuncilagi" type="password" id="<?php echo $PROFILE_VER_PASSWD; ?>" size="25" maxlength="25">
      </div></td>
    </tr>
    <tr valign="top"> 
      <th colspan="3"> <div align="center"></div></th>
    </tr>
    <tr valign="top"> 
      <th>&nbsp;</th>
      <td>&nbsp;</td>
      <td><div align="left">
        <input type="submit" name="submit" id="submit" value="<?php echo $DEV_CTRL_SUBMIT; ?>" />
          <input type="reset" name="Reset" value="<?php echo $DEV_CTRL_RESET; ?>" />
        <input name="kode" type="hidden" id="kode" value="<?php echo $_SESSION['id_char']; ?>">
          <input name="status" type="hidden" id="status" value="edit">
          <input name="fileutama" type="hidden" id="fileutama" value="<?php echo $_SERVER['PHP_SELF']; ?>" />
      </div></td>
    </tr>
  </table>
</form>
<br />